package org.web.common.sso.server.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.web.common.sso.server.query.QueryAccountInfo;
import org.web.common.sso.server.domain.AccountInfoDO;

@Mapper
public interface AccountInfoDAO {

	AccountInfoDO selectAccountInfoByAccountInfoId(Long accountInfoId);

	List< AccountInfoDO > selectAccountInfoList(QueryAccountInfo queryAccountInfo);

	Integer countAccountInfoList(QueryAccountInfo queryAccountInfo);

	void insertAccountInfo(AccountInfoDO accountInfoDO);

	int updateAccountInfoByAccountInfoId(AccountInfoDO accountInfoDO);
	
	List<String> selectDistinctList(QueryAccountInfo queryAccountInfo);

}
